package com.apuntesdejava.demoswingdbapp.bean;

/**
 *
 * @author dsilva
 */
public class ProductCode {

    private String prodCode;
    private String description;

    public ProductCode() {
    }

    public ProductCode(String prodCode, String description) {
        this.prodCode = prodCode;
        this.description = description;
    }

    public String getProdCode() {
        return prodCode;
    }

    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return prodCode + " - " + description;
    }
}
